package com.ctshk.rpc.bus.req;

import java.io.Serializable;
import java.time.LocalDate;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("查询巴士-产品中心-查看详情req")
public class BusProductDetailByStrategyReq implements Serializable {
	private static final long serialVersionUID = 1L;

	@NotNull(message = "产品ID不能为空")
	@ApiModelProperty("产品ID")
	private Long productId;
	
	@NotNull(message = "开始日期不能为空")
	@ApiModelProperty("开始日期，默认查询一个月内的数据")
	private LocalDate beginDate;
}
